package com.demo.strategy.adapter.impl;

import com.demo.strategy.adapter.OrderPayPostProcessAdapter;
import com.demo.strategy.annotation.OrderProcessor;
import com.demo.strategy.enums.Channel;
import com.demo.strategy.enums.OrderType;
import com.demo.strategy.pojo.Order;
import org.springframework.stereotype.Service;

@Service
@OrderProcessor(orderType = {OrderType.XSNS},channel = {Channel.DHYX})
public class OrderPayPostProcessor03 implements OrderPayPostProcessAdapter {
    @Override
    public void orderPayPostProcess(Order order) {
        System.out.println("订单支付后置处理器3：处理电话营销渠道的线上年审订单……");
    }
}
